package Models;

import java.io.Serializable;
import java.util.ArrayList;

public class User implements Serializable {

	private ArrayList<Integer> history = new ArrayList<Integer>();
	private String netID;
	private String firstName;
	private String lastName;
	private int room;
	private boolean isRA;

	public User(String netID, String firstName, String lastName, int room,
			boolean isRA) {
		this.netID = netID.toLowerCase();
		this.firstName = firstName;
		this.lastName = lastName;
		this.room = room;
		this.isRA = isRA;
	}

	public String getNetID() {
		return netID;
	}

	public String getFirstName() {
		return firstName;
	}

	public String getLastName() {
		return lastName;
	}

	public int getRoom() {
		return room;
	}

	public boolean getIsRA() {
		return isRA;
	}

	public void addToHistory(int ID) {
		history.add(ID);
	}

	public ArrayList<Integer> getHistory() {
		return history;
	}

}
